package com.wangjiawei.util;

import com.google.gson.Gson;

/**
 * 2 * @Author: 小王同学
 * 3 * @Date: 2020/10/1 13:50
 * 4
 */
public class JSONUtil {

    private static Gson g = new Gson();

    public static String toJSON(Object obj){
        return g.toJson(obj);
    }
}
